//
//  StatusCellBottomView.swift
//  JJWeibo
//
//  Created by JJ on 15/9/6.
//  Copyright © 2015年 JJ. All rights reserved.
//

import UIKit

class StatusCellBottomView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        
        setUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setUI(){
        
        backgroundColor=UIColor(white: 0.95, alpha: 1.0)
        addSubview(forwardButton)
        addSubview(commonButton)
        addSubview(likeButton)
        
        ff_HorizontalTile([forwardButton,commonButton,likeButton], insets: UIEdgeInsetsZero)
        
    }
    
    private var forwardButton:UIButton=UIButton(titil: "转发", imageName: "timeline_icon_retweet", color: UIColor.darkGrayColor(), fontSize: 12)
    private var commonButton:UIButton=UIButton(titil: "评论", imageName: "timeline_icon_comment", color: UIColor.darkGrayColor(), fontSize: 12)
    private var likeButton:UIButton=UIButton(titil: "点赞", imageName: "timeline_icon_unlike", color: UIColor.darkGrayColor(), fontSize: 12)
    
}
